//
//  Command.m
//  INFSWA02
//
//  Created by Justin van Grootveld on 10/25/11.
//  Copyright (c) 2011 Pro4all. All rights reserved.
//

#import "Command.h"

@implementation Command

@synthesize board;

- (id)initWithSquareSource:(Square *)source destination:(Square *)destination
{
    if(self = [super init])
    {
        _squareSource = source;
        _squareDestination = destination;
    }
    return self;
}

- (BOOL)execute
{
    //must be overridden
    return NO;
}

- (BOOL)undo
{
    //must be overridden
    return NO;
}

@end
